FROM openjdk:8
MAINTAINER zhoufushou
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

LABEL app="app" version="0.0.1" by="zhoufushou"
COPY target/app.jar app.jar
CMD java -jar app.jar